home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mntdoc01.zoo / mintdoc / cat2 / finstat.nr < prev    next >
Encoding:
Text File  |  1993-03-03  |  906 b   |  67 lines

  1.  
  2.  
  3.  
  4. Finstat(2)                 Oct. 1, 1991                Finstat(2)
  5.  
  6.  
  7. N✓NA✓AM✓ME✓E
  8.        Finstat - determine input status for a file
  9.  
  10. S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
  11.        LONG Finstat( WORD fh );
  12.  
  13. D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
  14.        _✓F_✓i_✓n_✓s_✓t_✓a_✓t  returns  the  number of bytes of input waiting on
  15.        the file whose GEMDOS handle is _✓f_✓h, or 0 if  no  input  is
  16.        available on that handle.
  17.  
  18. R✓RE✓ET✓TU✓UR✓RN✓NS✓S
  19.        0 or a positive number if successful
  20.  
  21.        EIHNDL if _✓f_✓h is not a valid handle for an open file.
  22.  
  23. S✓SE✓EE✓E A✓AL✓LS✓SO✓O
  24.        _✓C_✓a_✓u_✓x_✓i_✓s(2), _✓C_✓c_✓o_✓n_✓i_✓s(2), _✓F_✓c_✓n_✓t_✓l(2), _✓F_✓o_✓u_✓t_✓s_✓t_✓a_✓t(2)
  25.  
  26. B✓BU✓UG✓GS✓S
  27.        Always returns 1 for disk files.
  28.  
  29.        Doesn't  check to see if the indicated file was opened for
  30.        reading.
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. Version 0.9          MiNT Programmer's Manual                   1
  65.  
  66.  
  67.